package com.Khan.SocialRescueSys.dao;

import com.Khan.SocialRescueSys.pojo.Province;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author Khan Liu
 * @date 2022/4/4 14:58
 */
@Mapper
@Repository
public interface ProvinceDao {
    
    int saveProvince(Province type);

    Province getProvince(Long id);

    List<Province> getAllProvince();

    List<Province> getForceProvince();  //首页右侧展示type对应的省份数量
}
